﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PatternFactory
{
    class Cars
    {
    }

    public class Fac1Mobai : IFactoryMobai
    {
        public string Drive()
        {
            return nameof(Fac1Mobai);
        }
    }


    public class Fac2Mobai : IFactoryMobai
    {
        public string Drive()
        {
            return nameof(Fac2Mobai);
        }
    }


    public class Fac1Tesla : IFactoryTesla
    {
        public string Drive()
        {
            return nameof(Fac1Tesla);
        }
    }

    public class Fac2Tesla : IFactoryTesla
    {
        public string Drive()
        {
           return nameof(Fac2Tesla);
        }
    }


}
